package com.tjsiqi.dao;

import com.tjsiqi.beans.PageQuery;
import com.tjsiqi.dto.XhContractDto;
import com.tjsiqi.model.XhContract;
import com.tjsiqi.model.XhContractEXP;
import com.tjsiqi.model.XhContractKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface XhContractMapper {
    int deleteByPrimaryKey(XhContractKey key);

    int insert(XhContract record);

    int insertSelective(XhContract record);

    XhContract selectByPrimaryKey(XhContractKey key);

    int updateByPrimaryKeySelective(XhContract record);

    int updateByPrimaryKey(XhContract record);

    List<XhContract> getPageList(@Param("xhContractDto") XhContractDto xhContractDto, @Param("page") PageQuery page);

    int getXhContractCount(@Param("xhContractDto")XhContractDto xhContractDto);

    List<XhContractEXP> exportByParam(@Param("xhContractDto")XhContractDto xhContractDto);
}